package com.coin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.coin.domain.CoinWithdraw;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 李力
 * @description 针对表【coin_withdraw(数字货币提现记录)】的数据库操作Service
 * @createDate 2025-06-12 10:12:53
 */
public interface CoinWithdrawService extends IService<CoinWithdraw> {

    /**
     * @Description: 条件分页查询
     * @Author: 李 力
     * @Date: 2025/6/13
     * @Param:
     * @return: R
     */
    Page<CoinWithdraw> findByPage(Page<CoinWithdraw> page, Long coinId, Long userId, String userName, String mobile, Byte status, String numMin, String numMax, String startTime, String endTime);

    /**
     * @Description: 查询用户的提币记录
     * @Author: 李 力
     * @Date: 2025/6/19
     * @Param:
     * @return:
     */
    Page<CoinWithdraw> findUserCoinWithdraw(Long userId, Long coinId, Page<CoinWithdraw> page);
}
